package syllabus.service;

import java.util.List;
import syllabus.model.Criteria;
import syllabus.model.PRolePermission;

public interface PRolePermissionService {
    int countByExample(Criteria example);

    PRolePermission selectByPrimaryKey(Integer id);

    List<PRolePermission> selectByExample(Criteria example);

    int deleteByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PRolePermission record);

    int updateByPrimaryKey(PRolePermission record);

    int deleteByExample(Criteria example);

    int updateByExampleSelective(PRolePermission record, Criteria example);

    int updateByExample(PRolePermission record, Criteria example);

    int insert(PRolePermission record);

    int insertSelective(PRolePermission record);
}